home *** CD-ROM | disk | FTP | other *** search
- <HTML>
-
- <HEAD>
- <title>Destinations</TITLE>
- <link REL="stylesheet" TYPE="text/css" HREF="%1css/default.css">
- </HEAD>
-
- <BODY LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0">
-
- <script language="Javascript">
- //LOCALIZATION STRINGS
- var _errNoSelected = "No items have been selected yet.";
- var _strDisable = "Disable the selected item(s)?";
- var _strEnable = "Enable the selected item(s)?";
- </script>
-
- <div ID="tooltip" STYLE="position:absolute;visibility:hidden;z-index:99;"></div>
-
- <script SRC="%1js/helps.js"></script>
- <script SRC="%1js/tips.js"></script>
-
- <script language="JavaScript">
-
- var _numItems = %2;
-
- function disableSelected()
- {
- doActionSelected ("disable", _strDisable);
- }
-
-
- function enableSelected()
- {
- doActionSelected ("enable", _strEnable);
- }
-
-
- function doActionSelected (action, prompt)
- {
- var items = getSelected();
-
- if (items != "")
- {
- if (window.confirm (prompt))
- {
- document.form1.checkedItems.value = items;
- document.form1.action.value = action;
- document.form1.submit();
- }
- }
- else
- {
- alert(_errNoSelected);
- }
- }
-
-
- function selectAll()
- {
- for(var i=0; i < _numItems; i++)
- {
- document.form1.elements["chkbox"+i].checked = true;
- }
- }
-
- function deselectAll()
- {
- for(var i=0; i < _numItems; i++)
- {
- document.form1.elements["chkbox"+i].checked = false;
- }
- }
-
-
- function getSelected()
- {
- var items = "";
- for(var i=0; i < _numItems; i++)
- {
- if(document.form1.elements["chkbox"+i].checked)
- {
- if (items != "") items += "+";
- items += document.form1.elements["chkbox"+i].value;
- }
- }
- return items;
- }
-
- </script>
-
- <FORM action="%3" target="_self" name="form1" method=POST>
-
- <TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0" WIDTH="100%">
- <TR CLASS="listHeading">
- <TD CLASS="listHeading" ALIGN="LEFT" WIDTH=90%><SPAN ID="text"> Destination Name </SPAN></TD>
- <TD CLASS="listHeading" ALIGN="middle" WIDTH=10%><SPAN ID="text"> Selected </SPAN></TD>
- </TR>
- %4
- <INPUT type=hidden name="checkedItems" value="">
- <INPUT type=hidden name="action" value="">
- </TABLE>
- </FORM>
-
- </BODY>
- </HTML>
-